package com.fypg.module.blooddonation.api.client.config;

import com.fypg.module.blooddonation.api.client.enums.ErrorCodeConstants;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

import static com.fypg.framework.common.exception.util.ServiceExceptionUtil.exception;

@Data
@Component
@ConfigurationProperties(prefix = "blood.station")
public class BloodStationConfig {

    private String sm4Key;

    private String baseUrl;

    private String platformUrl;

    private String userName;

    private String userPassword;

    private String accessKey;
}

